package cate.game.role.pvp.guildwar.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBGuildWar;
import cate.game.pvp.guildwar.data.rank.GWRoleRank;
import easy.java.dev.note.NoteField;

import java.util.List;

@ClientMsg(title = "公会战-玩家排行榜 返回")
public class GuildWarRoleRankResp implements MsgOutput {

    @NoteField("榜单")
    public List<GWRoleRank> list;

    @NoteField(value = "我的排名")
    public int myRank;

    @NoteField(value = "我的排行数据")
    public GWRoleRank my;


    public GuildWarRoleRankResp(List<GWRoleRank> list, int myRank, GWRoleRank my) {
        this.list = list;
        this.myRank = myRank;
        this.my = my;
    }

    public GuildWarRoleRankResp() {
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBGuildWar.ROLE_RANK_RESP;
    }
}
